<%--
  Created by IntelliJ IDEA.
  User: 路♥克
  Date: 2017/12/5
  Time: 2:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <base href="${pageContext.request.contextPath}/web/"/>
    <meta charset="UTF-8">
    <title>Document</title>
    <jsp:include page="elments_views/js.jsp"/>
    <link rel="stylesheet" type="text/css" href="frame/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="frame/bootstrap/css/button.css">
    <!-- 	<link rel="stylesheet" type="text/css" href="frame/bootstrap/css/bootstrap-theme.min.css"> -->
    <link rel="stylesheet" type="text/css" href="frame/css/layout.css">
    <link rel="stylesheet" type="text/css" href="css/style.css">
    <%--<script type="text/javascript" src="frame/myfocus/js/myfocus-2.0.1.min.js"></script>--%>
    <style type="text/css">
        .panel{margin-bottom: 0px;}
        .panel .panel-heading{border-radius: 0px;background: white;margin:0px;color: black;font-weight: bolder;font-size: 16px;padding-bottom: 0px;}
        .panel .panel-heading p.first-menu{border-left: 5px solid red;padding-left: 15px;}
        .panel .list-group li{border: none;padding-left: 50px;}
        .panel .list-group li a{color: black;}
        .panel .list-group li.active{background: #f9f9f9;font-weight: bold;}
        .panel .panel-heading p.date-source{font-weight:normal;color: #cfcfcf;}
    </style>
</head>
<body>
<jsp:include page="elments_views/header.jsp"/>

<div class="container" style="margin-top: 120px;">
    <div class="row">
        <jsp:include page="elments_views/about-nav.jsp"/>
        <script>
            $(function () {
                $("#yxynav li").removeClass("active");
                $("#about-nav div ul li").removeClass("active");
                $("#orderList").addClass("active");
            });
        </script>
        <div class="col-md-9">
            <div class="panel">
                <div class="panel-heading">
                    <h3>我的订单</h3>
                </div>
                <div class="panel-body">

                    <div class="media">

                        <div class="media-body">
                            <table class="table table-hover">
                                <tr>
                                    <th>订单编号</th>
                                    <th>订单金额</th>
                                    <th>下单时间</th>
                                    <th>订单状态</th>
                                    <th>最新操作时间</th>
                                    <th>操作</th>
                                </tr>
                                <c:forEach var="OrderInfo" items="${wareOrderInfos}">
                                    <tr>
                                        <td>${OrderInfo.orderNum}</td>
                                        <td>￥${OrderInfo.orderMoney}万元</td>
                                        <td><fmt:formatDate value="${OrderInfo.createTime}" pattern="yyyy-MM-dd"/></td>
                                        <td>${OrderInfo.appDictCode.dvalue}</td>
                                        <td><fmt:formatDate value="${OrderInfo.operateTime}" pattern="yyyy-MM-dd"/></td>
                                        <td>
                                            <a href="/OrderInfo/deleteOrderInfo?id=${OrderInfo.id}">删除</a>
                                        </td>
                                    </tr>
                                </c:forEach>
                            </table>
                        </div>
                    </div>
                    <hr>
                </div>
                <div class="text-center" style="background: white;">
                    <nav aria-label="Page navigation">
                        <ul class="pagination">
                            <li>
                                <a href="javascript:;" aria-label="Previous">
                                    <span aria-hidden="true">&laquo;</span>
                                </a>
                            </li>
                            <li><a href="javascript:;">1</a></li>
                            <li>
                                <a href="javascript:;" aria-label="Next">
                                    <span aria-hidden="true">&raquo;</span>
                                </a>
                            </li>
                        </ul>
                    </nav>
                </div>
            </div>
        </div>
    </div>
</div>
<jsp:include page="elments_views/footer.jsp"/>
</body>
</html>

